//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//  GameViewController.h
//  PokerHandUp
//
//  Created by psvn047 on 6/7/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#import <UIKit/UIKit.h>
#import "BaseViewController.h"
#import "GameControlViewController.h"
#import "TableManagerViewController.h"
#import "PlayerManagerViewController.h"
#import "GameOverViewController.h"
#import "TableClockViewController.h"
#import "GameRuleProxy.h"
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@interface GameViewController : BaseViewController<GameControlDelegate,TableMangagerDelegate,PlayerManagerDelegate,GameOverDelegate,GameRuleProxyDelegate>
{
    IBOutlet UIView * playerManagerView; 
    IBOutlet UIView * gameControlView;
    IBOutlet UIView * tableMangagerView; 
    IBOutlet UIView * gameOverView; 
    IBOutlet UIView * tableClockView; 
    IBOutlet UIButton * btnExit;
    IBOutlet UIButton* btnAutoPlay;
    BOOL autoplay;
    PlayerInfo * myPlayer;
}
@property(nonatomic,retain) UIView * playerManagerView; 
@property(nonatomic,retain) UIView * gameControlView; 
@property(nonatomic,retain) UIView * tableMangagerView;
@property(nonatomic,retain) UIView * gameOverView;
@property(nonatomic,retain) UIView * tableClockView;
@property(nonatomic, assign) BOOL autoplay;
@property(nonatomic,retain) PlayerInfo * myPlayer;
-(IBAction) exitGameHandler:(id)sender;
-(IBAction) autoPlayHandler:(id)sender;
+(GameViewController*) share;
@end
////////////////////////////////////////////////////////////////////////////////////////////////////////////////